package com.htt.bms.domain.sys.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 侯婷婷
 * @version 1.0
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("菜单权限VO")
public class SysMenuRoleVo {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("父id")
    private Integer parentId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("中文名称")
    private String chineseName;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("菜单id")
    private Integer menuId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("子集")
    private List<SysMenuRoleVo> children;
}
